package fr.cephb.berkeley.baseapi.bindings;

import com.sleepycat.bind.tuple.TupleInput;
import com.sleepycat.bind.tuple.TupleOutput;

public class Int16Binding
	extends AbstractTupleBinding<Short>
	{
	@Override
	public Short entryToObject(TupleInput input)
		{
		return readInt16(input);
		}

	@Override
	public void objectToEntry(Short i, TupleOutput output)
		{
		writeInt16(i, output);
		}
	}
